From f38a2fb70adb57b105cc3ca801308778f8e26414 Mon Sep 17 00:00:00 2001 From: robertl Date: Tue, 18 Oct 2005 01:35:23 +0000 Subject: [PATCH] Fix typo in QUEUE_EMPTY --- gpsbabel/queue.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gpsbabel/queue.h b/gpsbabel/queue.h index ace6bf431..cf73f95b6 100644 --- a/gpsbabel/queue.h +++ b/gpsbabel/queue.h @@ -1,7 +1,7 @@ /* Generic queueing utilities. - Copyright (C) 2002 Robert Lipe, robertlipe@usa.net + Copyright (C) 2002-2005 Robert Lipe, robertlipe@usa.net This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -31,7 +31,7 @@ queue * dequeue(queue *element); #define QUEUE_FIRST(head) ((head)->next) #define QUEUE_NEXT(element) ((element)->next) #define QUEUE_LAST(head) ((head)->prev) -#define QUEUE_EMPTY ((head)->next == (head)) +#define QUEUE_EMPTY(head) ((head)->next == (head)) #define QUEUE_MOVE(newhead,oldhead) \ if ( (oldhead)->next == (oldhead) ) {\ (newhead)->next = (newhead)->prev = (newhead); \ -- 2.30.2